package com.longe.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.io.Serializable;

@Data
public class Goods implements Serializable {

    private static final long serialVersionUID = -509746775002991978L;

    @Excel(name="商品名", orderNum = "0")
    private String name;

    @Excel(name="商品价格", orderNum = "1")
    private Integer price;

    @Excel(name="商品库存", orderNum = "2")
    private Integer count;

    public Goods(String name, Integer price, Integer count) {
        this.name = name;
        this.price = price;
        this.count = count;
    }
}
